package com.pxmeta.skill.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 服务表
 * </p>
 *
 * @author wcl
 * @since 2022-06-25
 */
@TableName("kt_skill_certification_form")
@ApiModel(value = "技能", description = "技能表")
@Data
public class SkillCertificationForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("技能id")
    private Integer skillId;

    @ApiModelProperty("表单名称")
    private String name;

    @ApiModelProperty("占位符")
    private String placeholder;

    @ApiModelProperty("类型，1上传图片，2技能等级，3上传语音，4技能介绍，5单价，6区服，7位置,8优惠方式，9优惠，10特色")
    private Integer type;

    @ApiModelProperty("表单类型")
    private Integer formType;

    @ApiModelProperty("步骤，one第一步，two第二步")
    private String step;

    @TableField(exist = false)
    private List<String> items;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
